package com.prs.crm.domain.flow;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * <p>
 * Copyright: Copyright (c) 2012
 * </p>
 * 
 * @author JohnLan E-mail:JohnMr.Lan@foxmail.com
 * @version 创建时间：2012-7-23 下午05:27:56
 * 
 *          类说明 节点任务名称
 */
@Entity
@Table(name = "flow_FlowNodeName")
public class FlowNodeName extends BaseEntity {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 节点名称
	 */
	private String nodenName;

	/**
	 * 节点顺序
	 */
	private int sequence;
	
	/**
	 * 流程ID
	 * @return
	 */

	private  String  flowID;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNodenName() {
		return nodenName;
	}

	public void setNodenName(String nodenName) {
		this.nodenName = nodenName;
	}

	public int getSequence() {
		return sequence;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	public String getFlowID() {
		return flowID;
	}

	public void setFlowID(String flowID) {
		this.flowID = flowID;
	}

}
